/**
 * @author        lx <1154354121@qq.com>
 * @date          2025-04-15 16:06:45
 * /index对应的页面
 */
import { authOptions } from '@/app/api/auth/[...nextauth]/route';
import { getServerSession } from 'next-auth';

export default async function Index() {
  const session = await getServerSession(authOptions);
  return (
    <>
      <div>Index</div>
      <div>user: {session?.user?.name}</div>
    </>
  );
}
